package com.xyyl.patient.mapper.article;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xyyl.patient.core.mapper.GenericMapper;
import com.xyyl.patient.core.support.Pager;
import com.xyyl.patient.entity.article.ArticleEntity;

public interface ArticleMapper extends GenericMapper {

	/**
	 * @param pager 
	 * @Title: findArticleIndex
	 * @Description: 查询每日导读（推文）
	 * @param @return    参数
	 * @return List<ArticleEntity>    返回类型
	 * @throws
	*/

	List<ArticleEntity> findArticleIndex(Pager pager);

	/**
	 * @Title: queryArticleBannerList
	 * @Description: 查询文章轮播图接口
	 * @param @return    参数
	 * @return List<ArticleEntity>    返回类型
	 * @throws
	*/

	List<ArticleEntity> queryArticleBannerList();

	/**
	 * @Title: findArticleIndexDetail
	 * @Description: 导读详情
	 * @param @param articleId
	 * @param @return    参数
	 * @return ArticleEntity    返回类型
	 * @throws
	*/

	ArticleEntity findArticleDetail(@Param("articleId") Integer articleId);


}
